package com.mybatis.controller;

import com.mybatis.service.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author cyt
 * @create 2020-05-31 16:17
 */

@RestController
public class MqController {

    @Autowired
    Message message;

    @GetMapping("/send")
    public String send() {
        return message.send();
    }

}
